<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib uri="http://www.goodfox.com/jsp/tags/power" prefix="p"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%
request.setAttribute("locale",request.getLocale());
%>
<script type="text/javascript">
</script>

<div class="pageContent">
	<form method="post" action="<c:url value="/rights/rightsAdd.shtml"/>" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>林权证编号：</label>
				<input type="text" size="30" readonly="readonly" value="${rights.rigCode}"/>
			</p>
			<p>
				<label>林权证号：</label>
				<input type="text" size="30" readonly="readonly" value="${rights.rigNumber}"/>
			</p>
			<p>
				<label>身份证号：</label>
				<input type="text" size="30" readonly="readonly" value="${rights.idCards}"/>
			</p>
			<p>
				<label>法定代表人：</label>
				<input type="text" size="30" readonly="readonly" value="${rights.legal}"/>
			</p>
			<p style="width:760px">
				<label>通讯地址：</label>
				<input type="text" size="93" readonly="readonly" value="${rights.address}"/>
			</p>
			<p style="width:760px">
				<label>单位（个人）：</label>
				<input type="text" size="93" readonly="readonly" value="${rights.unit}"/>
			</p>
			
			<div style="clear:both;"></div>
			
			<div class="panelBar" style="border-left: 1px solid #B8D0D6;border-right: 1px solid #B8D0D6;border-bottom:none;">
				<ul class="toolBar">
					<li><span>林地信息</span></li>
				</ul>
			</div>
			<div class="tabs">
				<div class="tabsHeader">
					<div class="tabsHeaderContent">
						<ul>
							<c:forEach items="${rights.alWoodlandList}" var="woodland" varStatus="w">
							<li><a href="javascript:;"><span>林地信息${w.index+1}</span></a>
							</c:forEach>
						</ul>
					</div>
				</div>
				<div class="tabsContent" style="background:#fff;">
					<c:forEach items="${rights.alWoodlandList}" var="woodland" varStatus="w">
					<div>
						<p>
							<label>申请表编号：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.appNumber}"/>
						</p>
						<p>
							<label>登记类型：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.rstTypeTxt}"/>
						</p>
						<p>
							<label>是否抵押：</label>
							<input type="text" size="30" readonly="readonly" value="<c:if test="${woodland.mortgage==1}">是</c:if><c:if test="${woodland.mortgage==0}">否</c:if>"/>
						</p>
						<p>
							<label>是否退耕还林地：</label>
							<input type="text" size="30" readonly="readonly" value="<c:if test="${woodland.backForest==1}">是</c:if><c:if test="${woodland.backForest==0}">否</c:if>"/>
						</p>
						<p>
							<label>林地所有权权利人：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.fstOwnTxt}"/>
						</p>
						<p>
							<label>林地使用权权利人：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.fstUse}"/>
						</p>
						<p>
							<label>森林或林木所有权权利人：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.woodOwn}"/>
						</p>
						<p>
							<label>森林或林木使用权权利人：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.woodUse}"/>
						</p>
						<p>
							<label>坐落：</label>
	                    	<input type="text" readonly="readonly" value="${woodland.areaName}"/>
						</p>
						<p>
							<label>小地名：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.smallTo}"/>
						</p>
						<p>
							<label>林班：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.fstClass}"/>
						</p>
						<p>
							<label>小班：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.smallCls}"/>
						</p>
						<p>
							<label>面积（亩）：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.acreage}"/>
						</p>
						<p>
							<label>主要树种：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.speciesTxt}"/>
						</p>
						<p>
							<label>蓄积或株数：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.treesNum}"/>
						</p>
						<p>
							<label>造林年度：</label>
							<input type="text" readonly="readonly" value="<fmt:formatDate value="${woodland.affDate}" pattern="yyyy"/>"/>
						</p>
						<p>
							<label>地类：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.landTypeTxt}"/>
						</p>
						<p>
							<label>森林分类：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.fstTypeTxt}"/>
						</p>
						<p>
							<label>林种：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.fstSpeciesTxt}"/>
						</p>
						<p>
							<label>林地使用期（年）：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.fstUseDate}"/>
						</p>
						<p>
							<label>终止日期：</label>
							<input type="text" readonly="readonly" value="<fmt:formatDate value="${woodland.endDate}" pattern="yyyy-MM-dd"/>"/>
						</p>
						<p>
							<label>坡度：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.slope}"/>
						</p>
						<p>
							<label>坡向：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.aspect}"/>
						</p>
						<p>
							<label>档案柜编号：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.cabinetNum}"/>
						</p>
						
						<div class="divider"></div>
						<div class="pageContent" style="border-left: 1px solid #B8D0D6;border-right: 1px solid #B8D0D6;width:70%">
							<div class="panelBar">
								<ul class="toolBar">
									<li><span>四至</span></li>
									<li class="line">line</li>
								</ul>
							</div>
							<table class="table" width="100%">
								<thead>
									<tr>
										<th>名称</th>
										<th>坐标</th>
									</tr>
								</thead>
								<tbody>
									<c:forEach items="${woodland.alWoodlandFourList}" var="four">
									<tr>
										<td>${four.fourName}</td>
										<td>${four.corX}、${four.corY}</td>
									</tr>
									</c:forEach>
								</tbody> 
							</table>
						</div>
						<div class="divider"></div>
						<div class="pageContent" style="border-left: 1px solid #B8D0D6;border-right: 1px solid #B8D0D6;border-bottom: 1px solid #B8D0D6;width:70%">
							<div class="panelBar">
								<ul class="toolBar">
									<li><span>图片</span></li>
									<li class="line">line</li>
								</ul>
							</div>
							<div>
								<ul>
									<c:forEach items="${woodland.alWoodlandPhotoList}" var="photo">
									<li style="float:left;border:1px solid #ccc;padding:2px;margin:5px;">
										<img src="<c:url value="${photo.photoPath}"/>" width="135" height="95"/>
									</li>
									</c:forEach>
								</ul>
							</div>
						</div>
						<div class="divider"></div>
						<dl class="nowrap">
							<dt>主要权利依据：</dt>
							<dd><textarea rows="2" cols="80" class="textInput" readonly="readonly">${woodland.basis}</textarea></dd>
						</dl>
						<dl class="nowrap">
							<dt>林权共有者说明：</dt>
							<dd><textarea rows="2" cols="80" class="textInput" readonly="readonly">${woodland.explain}</textarea></dd>
						</dl>
						<dl class="nowrap">
							<dt>注记：</dt>
							<dd><textarea rows="2" cols="80" class="textInput" readonly="readonly">${woodland.note}</textarea></dd>
						</dl>
						<p>
							<label>外业调查人：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.invPerson}"/>
						</p>
						<p>
							<label>经办人：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.hdePerson}"/>
						</p>
						<p>
							<label>负责人：</label>
							<input type="text" size="30" readonly="readonly" value="${woodland.crgPerson}"/>
						</p>
						<p>
							<label>发证日期：</label>
							<input type="text" readonly="readonly" value="<fmt:formatDate value="${woodland.issueDate}" pattern="yyyy-MM-dd"/>"/>
						</p>
					</div>
					</c:forEach>
				</div>
				<div class="tabsFooter">
					<div class="tabsFooterContent"></div>
				</div>
			</div>
					
			<div class="divider"></div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close"><spring:message code="page.btnClose"/></button></div></div></li>
			</ul>
		</div>
	</form>
</div>
